window.task_api = (function () {

    var api = {
        urlPrefix: "/tasks"
    };

    // 扩展查询，更新，修改，删除等API
    ss.extendCRUDAPI(api);

    api.findChildren = function(id){
        return ss.ajaxGet(this.urlPrefix + "/" + id + "/children");
    };

    return api;

})();


